package com.kuqi.service;

import com.kuqi.domain.News;
import com.kuqi.domain.PageVo;
import com.kuqi.domain.Vo;

/**
 * @author:kuqi
 * @createTime:2021/11/16 8:46
 * @description:
 */

public interface NewsService {
    void save(News news);

    void updateNews(News news);

    void deleteNewsById(Integer id);

    Vo<News> getNewsListByPage(PageVo pageVo);

    News getNewsById(Integer id);
}
